package com.sjgtw.cloud.web.rainfallMonitoring.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 雨量监测记录对象 t_eg_rainfall_monitoring
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public class RainfallMonitoring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 雨量计id */
    @Excel(name = "雨量计id")
    @ApiModelProperty("雨量计id")
    private Long rainGaugeId;

    /** 10分钟最高降雨量 */
    @Excel(name = "10分钟最高降雨量")
    @ApiModelProperty("10分钟最高降雨量")
    private Double tenMinute;

    /** 一小时最高降雨量 */
    @Excel(name = "一小时最高降雨量")
    @ApiModelProperty("一小时最高降雨量")
    private Double oneHour;

    /** 一天最高降雨量 */
    @Excel(name = "一天最高降雨量")
    @ApiModelProperty("一天最高降雨量")
    private Double oneDay;

    /** 预警状态 */
    @Excel(name = "预警状态 0 无  1 出巡 2 限速 3 封锁")
    @ApiModelProperty("预警状态")
    private Integer status;


    /** 是否有效 */
    @Excel(name = "是否有效  1 有效  0 无效")
    @ApiModelProperty("是否有效")
    private Integer isValid;


    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRainGaugeId(Long rainGaugeId) 
    {
        this.rainGaugeId = rainGaugeId;
    }

    public Long getRainGaugeId() 
    {
        return rainGaugeId;
    }

    public Double getTenMinute() {
        return tenMinute;
    }

    public void setTenMinute(Double tenMinute) {
        this.tenMinute = tenMinute;
    }

    public Double getOneHour() {
        return oneHour;
    }

    public void setOneHour(Double oneHour) {
        this.oneHour = oneHour;
    }

    public Double getOneDay() {
        return oneDay;
    }

    public void setOneDay(Double oneDay) {
        this.oneDay = oneDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rainGaugeId", getRainGaugeId())
            .append("tenMinute", getTenMinute())
            .append("oneHour", getOneHour())
            .append("oneDay", getOneDay())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
